![]() |
pCon.planner Plugin SDK
Version 8.16
|
User / custom article instance. More...

Public Member Functions | |
| CustomTextField^ | AddCustomTextField (String^ pKey, String^ pValue, bool pEditable) |
| Adds a custom text field. More... | |
| CustomTextField^ | GetCustomTextField (String^ pKey) |
| Returns custom text field. More... | |
| IList< CustomTextField^ >^ | GetAllCustomTextFields () |
| Returns list of existing custom text fields. More... | |
| void | DeleteCustomTextField (String^ pKey) |
| Removes a custom text field. More... | |
Public Member Functions inherited from X3g::Plugin::Articles::ArticleInstance | |
| void | Close () |
| Closes the instance and applies all changes. More... | |
Properties | |
| String^ | ManufacturerId [get, set] |
| The article's manufacturer id. More... | |
| String^ | SeriesId [get, set] |
| The article's series id. More... | |
| String^ | ArticleNumber [get, set] |
| The article's number. More... | |
| Currency^ | PurchasePrice [get, set] |
| The purchase price. More... | |
| Currency^ | SalesPrice [get, set] |
| The sales price. More... | |
| String^ | ShortText [get, set] |
| The article's short description. More... | |
| String^ | LongText [get, set] |
| The article's long description. More... | |
| String^ | VariantText [get, set] |
| The article's variant text. More... | |
| String^ | AdditionalText [get, set] |
| The article's additional text. More... | |
Properties inherited from X3g::Plugin::Articles::ArticleInstance | |
| DbEntity^ | MainEntity [get] |
| The main entity id of this instance. More... | |
| DbEntity^ | SelectedEntity [get] |
| The currently selected entity of this instance. More... | |
| PropertyProvider^ | Properties [get] |
| Provides properties for the currently selected entity. More... | |
| bool | Valid [get] |
| Returns true if this instance is still valid. More... | |
Additional Inherited Members | |
Events inherited from X3g::Plugin::Articles::ArticleInstance | |
| static System::EventHandler^ | AnyInstanceOpened [add, remove, raise] |
| Fired when an article has been instantiated. More... | |
| static System::EventHandler^ | AnyInstanceClosing [add, remove, raise] |
| Fired when current instance is about to be closed. More... | |
| static System::EventHandler^ | AnyInstanceClosed [add, remove, raise] |
| Fired when an instance has been closed. More... | |
User / custom article instance.
| CustomTextField X3g::Plugin::Articles::UserArticleInstance::AddCustomTextField | ( | String^ | pKey, |
| String^ | pValue, | ||
| bool | pEditable | ||
| ) |
Adds a custom text field.
Overwrites existing text field with same key with given values. New field is visible by default.
| System::Exception | An exception will be thrown if this instance is no longer valid. |
| void X3g::Plugin::Articles::UserArticleInstance::DeleteCustomTextField | ( | String^ | pKey) |
Removes a custom text field.
| pKey | The key of the text field. |
| System::Exception | An exception will be thrown if this instance is no longer valid. |
| IList< CustomTextField^ > X3g::Plugin::Articles::UserArticleInstance::GetAllCustomTextFields | ( | ) |
Returns list of existing custom text fields.
| System::Exception | An exception will be thrown if this instance is no longer valid. |
| CustomTextField X3g::Plugin::Articles::UserArticleInstance::GetCustomTextField | ( | String^ | pKey) |
Returns custom text field.
| pKey | The key of the text field. |
| System::Exception | An exception will be thrown if this instance is no longer valid. |
|
getset |
The article's additional text.
| System::Exception | Setter throws exception if this instance is no longer valid. |
|
getset |
The article's number.
| System::Exception | An exception will be thrown if this instance is no longer valid. |
|
getset |
The article's long description.
| System::Exception | Setter throws exception if this instance is no longer valid. |
|
getset |
The article's manufacturer id.
Each manufacturer has a unique ID assigned by EasternGraphics. If you set the manufacturer id to an invalid value, articles may not be processed in some applications.
| System::Exception | An exception will be thrown if this instance is no longer valid. |
| System::ArgumentException | An exception will be thrown if set to an invalid ID. |
|
getset |
The purchase price.
| System::Exception | An exception will be thrown if this instance is no longer valid. |
|
getset |
The sales price.
| System::Exception | An exception will be thrown if this instance is no longer valid. |
|
getset |
The article's series id.
| System::Exception | An exception will be thrown if this instance is no longer valid. |
| System::ArgumentException | An exception will be thrown if set to an invalid ID. |
|
getset |
The article's short description.
| System::Exception | Setter throws exception if this instance is no longer valid. |
|
getset |
The article's variant text.
| System::Exception | Setter throws exception if this instance is no longer valid. |
1.8.4